package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

public class ShopCard extends BaseEntity {


    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 全称 */
    @Excel(name = "全称")
    private String fullName;

    /** 简称 */
    @Excel(name = "简称")
    private String shorterName;

    /** 商品缩略图 */
    @Excel(name = "商品缩略图")
    private String pimage;

    /** 规格 */
    @Excel(name = "规格")
    private String specs;

    /** 适应症 */
    @Excel(name = "适应症")
    private String adapt;

    /** 特点 */
    @Excel(name = "特点")
    private String trait;

    /** 药品价格 */
    @Excel(name = "药品价格 ")
    private BigDecimal price;

    /** 产品信息 */
    @Excel(name = "产品信息")
    private String productInfo;

    private String content;

    /** 状态：0有效，1无效 */
    @Excel(name = "状态：0有效，1无效")
    private String flag;

    /** 是否上架（1：是 2：否） */
    @Excel(name = "是否上架（1：是 2：否）")
    private String isShelves;

    /** 是否自营（1：是 2：否） */
    @Excel(name = "是否自营（1：是 2：否）")
    private String isSelf;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;
    //数量
    private Integer number;

    //数据权限
    private String dataScope;

    private String drugType;

    private long drugId;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getShorterName() {
        return shorterName;
    }

    public void setShorterName(String shorterName) {
        this.shorterName = shorterName;
    }

    public String getPimage() {
        return pimage;
    }

    public void setPimage(String pimage) {
        this.pimage = pimage;
    }

    public String getSpecs() {
        return specs;
    }

    public void setSpecs(String specs) {
        this.specs = specs;
    }

    public String getAdapt() {
        return adapt;
    }

    public void setAdapt(String adapt) {
        this.adapt = adapt;
    }

    public String getTrait() {
        return trait;
    }

    public void setTrait(String trait) {
        this.trait = trait;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getProductInfo() {
        return productInfo;
    }

    public void setProductInfo(String productInfo) {
        this.productInfo = productInfo;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getIsShelves() {
        return isShelves;
    }

    public void setIsShelves(String isShelves) {
        this.isShelves = isShelves;
    }

    public String getIsSelf() {
        return isSelf;
    }

    public void setIsSelf(String isSelf) {
        this.isSelf = isSelf;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    @Override
    public String getDataScope() {
        return dataScope;
    }

    @Override
    public void setDataScope(String dataScope) {
        this.dataScope = dataScope;
    }

    public String getDrugType() {
        return drugType;
    }

    public void setDrugType(String drugType) {
        this.drugType = drugType;
    }

    public long getDrugId() {
        return drugId;
    }

    public void setDrugId(long drugId) {
        this.drugId = drugId;
    }

    @Override
    public String toString() {
        return "ShopCard{" +
                "id=" + id +
                ", fullName='" + fullName + '\'' +
                ", shorterName='" + shorterName + '\'' +
                ", pimage='" + pimage + '\'' +
                ", specs='" + specs + '\'' +
                ", adapt='" + adapt + '\'' +
                ", trait='" + trait + '\'' +
                ", price=" + price +
                ", productInfo='" + productInfo + '\'' +
                ", content='" + content + '\'' +
                ", flag='" + flag + '\'' +
                ", isShelves='" + isShelves + '\'' +
                ", isSelf='" + isSelf + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", createUser='" + createUser + '\'' +
                ", updateUser='" + updateUser + '\'' +
                ", number=" + number +
                ", dataScope='" + dataScope + '\'' +
                ", drugType='" + drugType + '\'' +
                ", drugId=" + drugId +
                '}';
    }
}
